package com.community.process._1010.dao.vo;

import com.community.process._1010.common.utils.SystemAmountUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: Administrator to Zbs
 * @Date: 2024/9/6 星期五 14:59
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ProcessFoodItemIngredientsVo {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "成品菜ID")
    private Long foodItemId;

    @Schema(description = "食材ID")
    private Long ingredientsId;

    @Schema(description = "食材名称")
    private String name;

    @Schema(description = "重量，食材的单位为主，比如重量 1，食材的单位是g，那就是1g，单位是kg，那就是1kg")
    private Integer weight;

    @Schema(description = "单位")
    private String units;

    @Schema(description = "食材图片")
    private String image;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
